package test.com;

/**
 * Created by THINK on 2016/9/23.
 */
public class MainJava {

    public static void main(String[] args) {
        String str = "test";
        System.out.println(str.substring(0, str.length() - 1));
    }
}